*{
    margin: 0;
    padding: 0;
    list-style: none;
}
.box{
    width: 500px;
    overflow: hidden;
    margin:  0 auto;
}
img {
    width: 500px;
    height: 300px;
}
.listImg{
    position: relative;
    display: flex;

}
.listImg>li{
    /* transform: translateX(0px); */
    transform: translateX(-1000px);
    /* transform: translateX(-1500px); */
    transition: 1s ease;

}

.listD{
    width: 65px;
    margin: 0 auto;
    /* border: 1px solid #333; */

}
.listD>li{
    width: 10px;
    height: 10px;
    display: inline-block;
    border: 1px solid #333;
    border-radius: 10px;
    cursor: pointer;
}
.listD>li:hover{
    background-color: yellow;
}
.listImg .list>li{
    position: absolute;
    width: 30px;
    height: 60px;
    display: inline-block;
    background-color: rgba(65, 62, 62,0.3);
    font-size: 40px;
    color: white;
    display: none;
    line-height: 60px;
}
.listImg:hover .list>li{
    display: block;
    cursor: pointer;
}
.listImg .list>li:nth-child(1){
    top: 40%;
    left: 0;
}
.listImg .list>li:nth-child(2){
    top: 40%;
    right: 0;
}